package com.dingwei.superiordiary.adapter.easyViewHolder;

import android.view.ViewGroup;
import android.widget.TextView;


import com.dingwei.superiordiary.R;
import com.dingwei.superiordiary.bean.Area_Bean;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by lihao on 2017/9/12.
 */

public class CheckAreaHolder extends BaseViewHolder<Area_Bean.DataBean> {
    @Bind(R.id.tv_area)
    TextView tvArea;

    public CheckAreaHolder(ViewGroup parent) {
        super(parent, R.layout.item_area);
        ButterKnife.bind(this, itemView);
    }


    @Override
    public void setData(Area_Bean.DataBean data) {
        super.setData(data);
        tvArea.setText(data.name);
    }
}
